package com.kaili.tms.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.tms.pojo.dto.SchedulingSearchQueryDTO;
import com.kaili.tms.pojo.entity.ExportSchedulingSearch;
import com.kaili.tms.pojo.vo.RouteInfoVO;
import com.kaili.tms.pojo.vo.SchedulingSearchVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author: zengshuai
 * @Time: 19-2-20 上午10:00
 */
@Mapper
public interface SchedulingSearchMapper{

    List<SchedulingSearchVO> queryScheduling(Page<SchedulingSearchVO> pager, SchedulingSearchQueryDTO queryDTO);

    List<ExportSchedulingSearch> schedulingSearchExport(Map<String, Object> map);

    List<RouteInfoVO> queryRouteByCarTrainNum(Long trainNum);

    List<RouteInfoVO> queryCityByRouteCode(String routeCode);




}
